package com.weirong.smartvault.dao;

import com.weirong.smartvault.entity.Command;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import com.weirong.smartvault.entity.CommandDetail;

import java.util.List;

@Repository
@Qualifier("commandDetailRepository")
public interface CommandDetailRepository extends JpaRepository<CommandDetail, Integer> {
    List<CommandDetail> findAllByCommand(Command command);
}
